package hu.blok1.veilingsite.shared;

import java.util.Date;

import com.google.gwt.user.client.rpc.IsSerializable;

public class Bid implements IsSerializable {
	private int bidID;
	private int bid;
	private int productID;
	private int userID;
	private Date bidTime;
	
	private String userName;
	
	public Bid() {
	}
	
	public Bid(int _bidID, int _bid, int _productID, int _userID, Date _bidTime) {
		bidID = _bidID;
		bid = _bid;
		productID = _productID;
		userID = _userID;
		bidTime = _bidTime;
	}
	
	// GETTERS
	public int getBidID() {
		return bidID;
	}
	
	public int getBid() {
		return bid;
	}
	
	public int getProductID() {
		return productID;
	}
	
	public int getUserID() {
		return userID;
	}
	
	public Date getBidTime() {
		return bidTime;
	}
	
	public String getUserName() {
		return userName;
	}
	
	// SETTERS
	public void setBidID(int _bidID) {
		bidID = _bidID;
	}
	
	public void setBid(int _bid) {
		bid = _bid;
	}
	
	public void setProductID(int _productID) {
		productID = _productID;
	}
	
	public void setUserID(int _userID) {
		userID = _userID;
	}
	
	public void setBidTime(Date _bidTime) {
		bidTime = _bidTime;
	}
	
	public void setUserName(String _userName) {
		userName = _userName;
	}
}